SmartFTP FTP Library
ISFTPConnection::RemoveFile Method

Removes a file.

IDL
HRESULT RemoveFile(
    [in] BSTR file
);
Parameters

bstrFile
The name of the file to be removed.

If bstrFile is a symbolic link, the link is removed, not the file it points to. 

To remove directories use the RemoveDirectory method.

What do you think about this topic? Send feedback!
Copyright (c) by SmartSoft Ltd. All rights reserved.